*{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: white;
}
body{
 background: #F7F7F7;
}
/* 头部 */
.header{
    height: 100px;
    background: rgb(3, 34, 73);
    overflow: hidden;
}
.nav,.main{
    width: 1050px;
    margin: 0px auto;
}
.header p {
    margin-top: 20px;
    float: left;
}
.header ul{
    float:right;
}
.header ul li{
    color: white;
    
    font-size: 16px;
    line-height: 100px;
    display: inline-block;
    
}
.header ul li a{
    margin: 0px 10px;
}
.header ul li a:hover{
    color: tomato;
}
/* 主题 */
.main{
    overflow: hidden;
    /* border: 1px #666 solid;  */
}
.a1{
    margin-top: 10px;
    background: white;
    width: 280px;
    float: left;
}
.a1 h4{
    background: rgb(6, 58, 172);
    padding: 10px 0px 10px 10px;
    color: white;
}
.a1 h3{
    padding: 10px 0px 10px 10px;
}
.a1 p{
    padding: 0px 10px 10px 10px;
}
.a1 p:nth-of-type(2){
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px #666 solid;
}
.a2{
  
}
.a2 img{
    margin: 10px;
}
.a3{
    margin-left: 10px;
    width: 740px;
    float: left;
    overflow: hidden;
    /* border: 1px #666 solid;  */
   
}
.a3 .a,.a3 .aa,.a3 .aaa,.a3 .aaaa{
    /* border: 1px #666 solid;  */
    width: 365px;
    margin-bottom: 5px;
    margin-top: 5px;
    overflow: hidden;
    background: white;
}
.a3 .a,.a3 .aaa{
    float: left;
}
.a3 .aa,.a3 .aaaa{
    float: right;
}
.a3 .a .b,.a3 .aa .b,.a3 .aaa .b,.a3 .aaaa .b{
    /* border: 1px #666 solid;  */
    width: 245px;
    float: left;
}
.a3 .a .b h3,.a3 .a .b p,.a3 .aa .b h3,.a3 .aa .b p,.a3 .aaa .b h3,.a3 .aaa .b p,.a3 .aaaa .b h3,.a3 .aaaa .b p{
    padding: 10px 5px;
}
.a3 .a .b p:nth-of-type(2),.a3 .aa .b p:nth-of-type(2),.a3 .aaa .b p:nth-of-type(2),.a3 .aaaa .b p:nth-of-type(2){
    margin: 10px 0px;
}
.a3 .a a,.a3 .aa a,.a3 .aaa a,.a3 .aaaa a{
    padding: 10px 15px;
    background: blue;
    color: white;
}
.a3 .a a:hover,.a3 .aa a:hover,.a3 .aaa a:hover,.a3 .aaaa a:hover{
    color: rgb(255, 0, 0);
}
.a3 .a img,.a3 .aa img,.a3 .aaa img,.a3 .aaaa img{
    margin: 20px 5px;
    float: left;
   width: 100px;
}
/* 底部 */

.footer{
    margin-top: 20px;
    background: rgb(206, 199, 199);
    height: 70px;
}
.footer p{
    line-height: 70px;
    text-align: center;
    color: deepskyblue;
}

/* 子网页 */

/* 主体 */
.main .left{
    margin-top: 10px;
    background: white;
    width: 180px;
    padding-bottom: 20px;
}
.main .left img{
    margin-top: 10px;
    margin-left: 30px;
    width: 100px;
}
.main .left p{
    margin: 10px 0px;
    
}
.main .left p a{
    margin-left: 10px;
    font-size: 13px;
    color: black;

}
.left p a:hover{
    color: red;
}
.left{
    float: left;
}
.right{
    float: right;
}
.right .r1{
    background: white;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 850px;
}
.right .r1 h3{
    padding: 10px 0px 20px 20px;
}
.right .r1 p{
    padding: 15px 30px;
    background: rgb(236, 232, 175);
    font-size: 13px;
    color: rgb(175, 179, 180);
}
.right .r2{
    background: white;
    margin-bottom: 10px;
    width: 850px;
    padding-bottom:1px;
    padding-top: 1px;
}
.right .r2 h3{
    font-size: 20px;
    margin: 10px 0px 10px 20px;
}
.right .r2 p{
    margin: 20px 20px;
    line-height: 27px;
    text-indent: 24px;
}
/* 表单 */
.from-contnet{
    padding: 20px 40px;
}
.from-ctrl{
    display: flex;
    margin-bottom: 20px;
}
.from-ctrl label{
    margin-top: 5px;
    width: 100px;
}
.from-ctrl ul{
    width: 100%;
    justify-content: flex-start;
    display: flex;
    flex-wrap: wrap;
}
.from-ctrl ul li{
   
    padding: 6px 10px;
    border: 1px solid #efefef;
    margin-bottom:5px ;
    margin-left: 5px;
    border-radius: 5px;
}
.from-ctrl .count span{
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #efefef;
    cursor: pointer;
}
.from-ctrl .count span:nth-of-type(2){
    cursor: default;
    border-left:none ;
    border-right:none ;
}

.from-ctrl select{
    border: 1px solid #efefef;
    padding: 5px 10px ;
    margin-top: 5px;
    outline: none;
    min-width:120px;
}
.from-contnet .total{
    padding: 20px 0px;
    margin-left: 33px;
}
.from-contnet .buy{
    margin-left: 33px;
}
.from-contnet .buy a{
    display: inline-block;
    padding: 6px 20px;
    background: #0c82ff;
    color: #fff;
}
.from-contnet .buy a:hover{
    color:#000 ;
}
/* 模态框 */
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0,.5);
    /* display: none; */
    visibility: hidden;
   
}
.mask .modal{
    position: relative;
    width: 700px;
    padding: 20px;
    background: #fff;
    margin: 15% auto;
    text-align: center;
    transform: translateY(-1000px);
    transition: all .3s ease-out;
}
.mask .modal h2{
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom:1px solid #ccc;
}
.mask .user-info{
    padding: 20px;
    font-size: 18px;
}
.mask .from-ctrl{
    display: flex;
}
.mask .from-ctrl input{
    background-color: #f0f0f0;
    outline: none;
    border: none;
    padding: 14px 10px;
    width: 500px;
    border-radius: 5px;
}
.mask .from-ctrl label{
    width: 85px;
    text-align: right;
    margin-right: 10px;
}
.mask .bth-group button{
    background: #054981;
    border: none;
    padding: 8px 20px;
    color:#fff;
    margin-right:10px ;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
}
.mask .close{
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background: #0c82ff;
    color: #fff;
    cursor: pointer;
    transition: all;
}